<?php
    include "admin_users.php";


$username=$_REQUEST['username'];
$password=$_REQUEST['password'];
// var_dump($id);

mysqli_select_db($conn,"shopping");

  $sql =  "insert into users(username,password) values ('$username','$password')";

   $result=mysqli_query($conn,$sql);
     

    if (!$result){
        echo '数据添加失败！';
    }else{
        echo '数据添加成功！';
    }
    
    mysqli_close($conn);
?>
